/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 29489
 * Date: 2023-04-13
 * Time: 9:51
 */
public class Square extends Shape{
    private double sidelength;

    public Square(){};
    public Square(double sidelength){
        this.sidelength = sidelength;
    }
    public double getPerimeter(){
        return 4*sidelength;
    }
    public double getArea(){
        return sidelength*sidelength;
    }
}
